package com.example.b_308.myapplication.view.user.register;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.example.b_308.myapplication.R;
import com.example.b_308.myapplication.model.Company;
import com.example.b_308.myapplication.view.base.BaseFragment;

/**
 * Created by B-308 on 2017/11/23.
 */
public class ConsummateFragment extends BaseFragment implements View.OnClickListener{

    @Override
    protected void init() {
        findViewById(R.id.but_next_com).setOnClickListener(this);
        findViewById(R.id.iv_com_name).setOnClickListener(this);
        findViewById(R.id.iv_com_tel).setOnClickListener(this);
        findViewById(R.id.iv_com_address).setOnClickListener(this);
        findViewById(R.id.iv_com_create).setOnClickListener(this);
    }

    @Override
    protected View setContentView(LayoutInflater inflater) {
        return inflater.inflate(R.layout.fragment_consummate,null,false);
    }

    @Override
    public void onClick(View v) {
        switch (v.getId()) {
            case R.id.but_next_com:
                Company company=new Company();
                ((RegisterActivity)getActivity()).next(this,company);
                break;
            case R.id.iv_com_name:
                break;
            case R.id.iv_com_tel:
                break;
            case R.id.iv_com_address:
                break;
            case R.id.iv_com_create:
                break;
        }
    }
}